﻿#pragma once
#include <string>
#include <vector>

namespace util::ser {
	struct SerialPortInfo {
		std::wstring comPath;
		unsigned int comPortNum;
		std::wstring devInstID;
		std::wstring friendlyName;
		std::wstring devDesc;
		std::wstring devService;
		unsigned int devProblemNum;

		std::wstring GetComPath();
	};

	std::vector<SerialPortInfo> EnumCurrentSerialPorts();
}